home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds / psc.man < prev    next >
Text File  |  1991-11-20  |  2KB  |  122 lines

  1. .\" $ Revision $
  2. .TH PSC\ 
  3.  
  4.  
  5.  
  6.  
  7.  
  8. 6.19\  1
  9. .SH NAME
  10. psc \- prepare sc files
  11. .SH SYNOPSIS
  12. .B psc
  13. [
  14. .I -fLkrSPv
  15. ]
  16. [
  17. .I -s cell
  18. ]
  19. [
  20. .I -R n
  21. ]
  22. [
  23. .I -C n
  24. ]
  25. [
  26. .I -n n
  27. ]
  28. [
  29. .I -d c
  30. ]
  31.  
  32. .SH DESCRIPTION
  33. .I Psc
  34. is used to prepare data for input to the spread sheet calculator
  35. .I sc(1).
  36. It accepts normal ascii data on standard input.  Standard output
  37. is a
  38. .I sc
  39. file.
  40. With no options, 
  41. .I psc
  42. starts the spread sheet in cell A0.  Strings are right justified.
  43. All data on a line is entered on the same row; new input lines
  44. cause the output row number to increment by one.  The default delimiters
  45. are tab and space.  The column formats are set to one larger
  46. than the number of columns required to hold the largest value
  47. in the column.
  48.  
  49. Options:
  50.  
  51. .IP "\-f"
  52. Omit column width calculations.  This option is for preparing
  53. data to be merged with an existing spreadsheet.  If the option is not
  54. specified, the column widths calculated for the data read by
  55. .I psc
  56. will override those already set in the existing spreadsheet.
  57.  
  58. .IP "\-L"
  59. Left justify strings.
  60.  
  61. .IP "\-k"
  62. Keep all delimiters.  This option causes the output cell to change on
  63. each new delimiter encountered in the input stream.   The default
  64. action is to condense multiple delimters to one, so that the cell only
  65. changes once per input data item.
  66.  
  67. .IP "\-r"
  68. Output the data by row first then column.  For input consisting of a single
  69. column, this
  70. option will result in output of one row with multiple columns
  71. instead of a single
  72. column spread sheet.
  73.  
  74. .IP "\-s cell"
  75. Start the top left corner of the spread sheet in 
  76. .I cell.
  77. For example, 
  78. .I "-s B33"
  79. will arrange the output data so that the
  80. spread sheet starts in column B, row 33.
  81.  
  82. .IP "\-R n"
  83. Increment by
  84. .I n 
  85. on each new output row.
  86.  
  87. .IP "\-C n"
  88. Increment by
  89. .I n 
  90. on each new output column.
  91.  
  92. .IP "\-n n"
  93. Output 
  94. .I n
  95. rows before advancing to the next column.  This option is used when
  96. the input is arranged in a single column and the spread sheet is to
  97. have multiple columns, each of which is to be length
  98. .I n.
  99.  
  100. .IP "\-d c"
  101. Use the single character
  102. .I c
  103. as the delimiter between input fields.
  104.  
  105. .IP "\-P"
  106. Plain numbers only.
  107. A field is a number only when there is no imbeded [-+eE].
  108.  
  109. .IP "\-S"
  110. All numbers are strings.
  111.  
  112. .IP "\-v"
  113. Print the version of
  114. psc
  115.  
  116. .SH SEE ALSO
  117. sc(1)
  118.  
  119. .SH AUTHOR
  120.  
  121. Robert Bond
  122.